package cn.heroes.weixin.pojo;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlTransient;

/**
 * 文本消息(官方)
 * 
 * @author cq
 * 
 */
@XmlRootElement(name = "xml")
public class TextMsg {
	@XmlElement(name = "ToUserName")
	public String toUserName;
	@XmlElement(name = "FromUserName")
	public String fromUserName;
	@XmlElement(name = "CreateTime")
	public long createTime;
	@XmlElement(name = "MsgType")
	public String msgType;
	@XmlElement(name = "Content")
	public String content;
	@XmlElement(name = "MsgId")
	public int msgId;

	@XmlTransient
	public String getToUserName() {
		return toUserName;
	}

	public void setToUserName(String toUserName) {
		this.toUserName = toUserName;
	}

	@XmlTransient
	public String getFromUserName() {
		return fromUserName;
	}

	public void setFromUserName(String fromUserName) {
		this.fromUserName = fromUserName;
	}

	@XmlTransient
	public long getCreateTime() {
		return createTime;
	}

	public void setCreateTime(long createTime) {
		this.createTime = createTime;
	}

	@XmlTransient
	public String getMsgType() {
		return msgType;
	}

	public void setMsgType(String msgType) {
		this.msgType = msgType;
	}

	@XmlTransient
	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	@XmlTransient
	public int getMsgId() {
		return msgId;
	}

	public void setMsgId(int msgId) {
		this.msgId = msgId;
	}

}
